<template>
  <div class="btnBox">
    <div class="loginbtn" @click="loginSubmit">{{ btntext }}</div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: ['btntext'],
  created() {},
  methods: {
    loginSubmit() {
      this.$emit('handleInput')
    }
  }
}
</script>

<style lang="stylus" scoped>
.btnBox {
  padding: 2.778vw 1.389vw;
}
.loginbtn {
  height: 12.5vw;
  background-color #ff9db5;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.444vw;
  border-radius 6.25vw
}
</style>
